package trlygjj.tanruiliyigenjinjin.query;

import lombok.Getter;
import lombok.Setter;
import trlygjj.tanruiliyigenjinjin.util.StringUtil;

@Getter
@Setter
public class BigClientQueryObject extends QueryObject{
    /**
     * 按学校名字查询
     */
    private String querySchool;
    /**
     * 按意向学科查询
     */
    private String querySubject;

    /**
     * 判断querySchool 有没有值
     * @return
     */
    public String getQuerySchool(){
        if (!StringUtil.hasLength(querySchool)){
            return null;
        }
        return querySchool;
    }
    /**
     * 判断querySubject 有没有值
     * @return
     */
    public String getQuerySubject(){
        if (!StringUtil.hasLength(querySubject)){
            return null;
        }
        return querySubject;
    }
}
